Skip to content

Breadcrumb to accept Array<object> #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 8, 2025

Conversation

RhysMAdey
Copy link
Contributor

@RhysMAdey RhysMAdey commented Mar 21, 2025

As well as passing in a string and string array, users will be able to pass and object array into 'path'. They will be able to determine the name the users see and the link when they press that breadcrumb item. e.g.

path=[ {name: 'link 1', href:'www.link1.com'}, {name: 'link 2', href: 'www.link2.com' }]

Breaedcrumb comp 100% tested:
Screenshot From 2025-03-21 15-03-51

…nformation needed. Allows path with multiple slashes to be applied to a href
@RhysMAdey RhysMAdey self-assigned this Mar 21, 2025
@RhysMAdey RhysMAdey requested a review from akademy March 21, 2025 15:05
Copy link
Member

@akademy akademy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. One tiny improvement.

@RhysMAdey RhysMAdey requested a review from akademy April 8, 2025 11:09
@RhysMAdey RhysMAdey merged commit b61d940 into main Apr 8, 2025
1 check passed
@akademy akademy deleted the RA/extending-breadcrumb-functionality branch April 8, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants